package com.gscitysfy.cus.drain.modules.warning.service.impl;

import com.gscitysfy.cus.drain.modules.warning.entity.DrainWeatherImg;
import com.gscitysfy.cus.drain.modules.warning.mapper.DrainWeatherImgMapper;
import com.gscitysfy.cus.drain.modules.warning.service.IDrainWeatherImgService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 * 气象图片存储记录 服务实现类
 * </p>
 *
 * @author zhangqiang
 * @since 2022-10-22 15:46:15
 */
@Service
public class DrainWeatherImgServiceImpl extends ServiceImpl<DrainWeatherImgMapper, DrainWeatherImg> implements IDrainWeatherImgService {
    @Resource
    DrainWeatherImgMapper drainWeatherImgMapper;
    @Override
    public List<DrainWeatherImg> getImgByTimeAndType(String startTime, String endTime, String type, String search) {
        return drainWeatherImgMapper.getImgByTimeAndType(startTime, endTime, type,search);
    }
}
